package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 技师时间管理表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
@Getter
@Setter
@TableName("t_technician_time")
@ApiModel(value = "TechnicianTime对象", description = "技师时间管理表")
public class TechnicianTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("技师时间管理表pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("技师id")
    @TableField("technician_id")
    private Long technicianId;

    @ApiModelProperty("年份")
    @TableField("year")
    private Integer year;

    @ApiModelProperty("日期")
    @TableField("day")
    private String day;

    @ApiModelProperty("时间")
    @TableField("time")
    private String time;

    @ApiModelProperty("状态（0=可约 1=不可约 2=已被预约）")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
